<div class="layuimini-container">
    <style>
        input {
            /*border: none;*/
            border:1px solid #ccc;
        }
        .layui-form-item{
            border:1px solid #ccc;
            margin-bottom: 0;
            padding:0!important;
        }
        .layui-input-inline{
            border-right:1px solid #ccc;
        }
    </style>
    <form id="app-form" class="layui-form layuimini-form" style="width:52%">
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>订单号</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input"
                       lay-verify="required" disabled
                       placeholder="请输入订单号" value="{$row.order_no|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>用户</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.user.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>商品</label>
            <div class="layui-input-block" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.goods_name|default=''}">
            </div>

        </div>
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>规格</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.spec_name|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>创建时间</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['create_time']>0}
                value="{$row.create_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
        </div>
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>商品总金额</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row['total_price']|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>订单金额</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row['order_price']|default=''}">
            </div>
        </div>
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>付款金额</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row['pay_price']|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>使用余额</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row['pay_balance']|default=''}">
            </div>
        </div>


        <!--<div class="layui-form-item">-->


        <!--</div>-->
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>收货人</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.receiver|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>收货电话</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.phone|default=''}">
            </div>
        </div>
        <div class="layui-form-item" style="border:1px solid #ccc;margin-bottom:0">

            <label class="layui-form-label" style='text-align:left'>收货地址</label>
            <div class="layui-input-block" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.address|default=''}">
            </div>
        </div>


        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>失败补贴金额</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row['failure_subsidy']|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>付款时间</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['pay_time']>0}
                value="{$row.pay_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
        </div>
        <!--<div class="layui-form-item">-->


        <!--</div>-->

        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>订单状态</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.order_status|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>所需拼团人数</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.collage_num|default=''}">
            </div>
        </div>
        {if in_array($row['order_status'],['已退款'])}
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>提交退款时间</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['submit_refund_time']>100000}
                value="{$row.submit_refund_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
            <label class="layui-form-label" style='text-align:left'>退款时间</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['refund_time']>10000}
                value="{$row.refund_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
        </div>
        {/if}
        {if in_array($row['order_status'],['已发货','已完成'])}
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>物流公司</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.express_company|default=''}">
            </div>
            <label class="layui-form-label" style='text-align:left'>物流单号</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       value="{$row.express_no|default=''}">
            </div>

        </div>
        <div class="layui-form-item" >
            <label class="layui-form-label" style='text-align:left'>发货时间</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['delivery_time']>0}
                value="{$row.delivery_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
            {if in_array($row['order_status'],['已完成'])}
            <label class="layui-form-label" style='text-align:left'>收货时间</label>
            <div class="layui-input-inline" >
                <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                       disabled placeholder=""
                       {if $row['delivery_time']>0}
                value="{$row.delivery_time|date='Y-m-d H:i:s'}"
                {/if}
                >
            </div>
            {/if}
        </div>
        {/if}
        <div class="layui-form-item" style="border:1px solid #ccc;margin-bottom:0">
            <label class="layui-form-label" style='text-align:left'>已拼团人数</label>
            <div class="layui-input-inline" style="border-right:0">
                <input style="border: none;min-height: 10px" type="text" name="order_no" class="layui-input"
                       lay-verify="required"
                       disabled placeholder=""
                       value="{$row.order_num|default=''}"/>
            </div>
            {volist name='$row.order_user' id='item'}
            <div class="layui-input-block" >
                <input style="border: none;min-height: 10px;" type="text" name="order_no" class="layui-input"
                       lay-verify="required"
                       disabled placeholder=""
                       value="姓名：{$item.name}，  电话：{$item.mobile}"/>
            </div>
            {/volist}

        </div>
        <div class="layui-form-item" style="border:1px solid #ccc;margin-bottom:0">

            <label class="layui-form-label" style='text-align:left'>邀约人数</label>
            <div class="layui-input-block" >
                <textarea style="border: none;min-height: 10px" type="text" name="order_no" class="layui-textarea"
                          lay-verify="required"
                          disabled placeholder=""
                          value="">{$row.user_order_num|default=''}</textarea>
            </div>
            {volist name='$row.user_order_user' id='item'}
            <div class="layui-input-block" >
                <input style="border: none;min-height: 10px;" type="text" name="order_no" class="layui-input"
                       lay-verify="required"
                       disabled placeholder=""
                       value="姓名：{$item.name}，  电话：{$item.mobile}"/>
            </div>
            {/volist}


        </div>
    </form>
</div>